package com.edu.cuotibook.dao.mapper;

import com.edu.cuotibook.entity.pojo.Examination;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExaminationDao {
    int insert(@Param("pojo") Examination pojo);

    int insertSelective(@Param("pojo") Examination pojo);

    int insertList(@Param("pojos") List<Examination> pojo);

    int update(@Param("pojo") Examination pojo);

    List<Examination> select(@Param("pojo")Examination examination);

    Examination selectById(@Param("id")Long id);

    void deleteById(@Param("id")Long id);
}
